home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 24 / develop Issue 24 code / Scriptable Database 1.0a15 / Base / PseudoRandom.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-19  |  231 b   |  13 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef __PSEUDORANDOM__
  3. #define __PSEUDORANDOM__
  4.  
  5. #include <Types.h>
  6.  
  7. void SetRandomSeed(UInt32 seed);
  8. UInt32 PseudoRandomLong();
  9. UInt32 PseudoRandomFromZeroToN(UInt32 n);
  10. UInt32 PseudoRandomFromMToN(UInt32 m, UInt32 n);
  11.  
  12. #endif
  13.